package Pricelist.Data
{
	public class Item
	{
    	protected var name:String;
		protected var imgSrc:String;
		public    var qtyAvailable:Number;
		protected    var id:Number;
		protected var price:Number;			
		

		public function Item(id:Number,name:String,imgSrc:String,price:Number)		
		{
			this.id = id;
			this.name = name;
			this.imgSrc = imgSrc;
			this.price = price;			
		}
		
		public function getName():String
		{
			return name;
		}
		public function getPriceAsString():String 
		{
			return price.toString();
		}
		public function getId():Number
		{
			return id;
		}


	}
}